<div class="bjui-pageContent" >
        <div data-layout-h="0">
                <!-- 内容区 -->
                <form action="{:U('Member/personnel_add')}" class="pageForm nice-validator n-red" data-loadingmask='false' data-toggle="validate" novalidate="novalidate" data-reload-navtab="true" method="post" >
                        <input type="hidden" name="id" value="{$_GET.id|default=''}" />
                        <table class="table table-condensed table-hover">
                                <tr>
                                        <th ><label style='margin-left:40px;'>用户名：</label></th>
                                        <td>
                                                <input type="text" data-rule="required" name="username" value="{$member.username|default=''}" />
                                        </td>

                                </tr>
                                <tr>
                                        <th><label style='margin-left:40px;'>密码：</label></th>
                                        <td>
                                                <input type="password" data-rule="required" name="password" value="" />
                                        </td>

                                </tr>
                                <tr>
                                        <th><label style='margin-left:40px;'>真实姓名：</label></th>
                                        <td>
                                                <input type="text" data-rule="required" name="realname" value="{$member.realname|default=''}" />
                                        </td>

                                </tr>
                                <tr>
                                        <th ><label style='margin-left:40px;'>部门：</label></th>
                                        <td>
                                                <select name="dept_id" data-toggle="selectpicker" data-rule="required" >
                                                        <option value="">请选择</option>
                                                        {volist name="departs" id="vo"}
                                                                <option value="{$vo.id}" {eq name="member.dept_id" value="$vo['id']"} selected="selected" {/eq}>{$vo.name}</option>
                                                        {/volist}

                                                </select>
                                        </td>

                                </tr>
                                <tr>
                                        <th ><label style='margin-left:40px;'>角色：</label></th>
                                        <td>
                                                <select name="role_id" data-toggle="selectpicker" data-rule="required" >
                                                        <option value="">请选择</option>
                                                        {volist name="role" id="vo"}
                                                                <option value="{$vo.id}" {eq name="member.role_id" value="$vo['id']"} selected="selected" {/eq}>{$vo.title}</option>
                                                        {/volist}

                                                </select>
                                        </td>

                                </tr>

                                <tr>
                                        <th ><label style='margin-left:40px;'>性别：</label></th>
                                        <td>
                                                <select name="sex" data-toggle="selectpicker" data-rule="required" >
                                                        <option value="" {eq name='member.sex' value=''} selected="selected" {/eq}>请选择</option>
                                                        <option value='1' {eq name='member.sex' value='1'} selected="selected" {/eq} >男</option>
                                                        <option value='0' {eq name='member.sex' value='0'} selected="selected" {/eq}>女</option>
                                                </select>
                                        </td>

                                </tr>
                                <tr>
                                        <th ><label style='margin-left:40px;'>状态：</label></th>
                                        <td>
                                                <select name="status" data-toggle="selectpicker"  >
                                                        <option value='1' {eq name='member.status' value='1'} selected="selected" {/eq} >启用</option>
                                                        <option value='0' {eq name='member.status' value='0'} selected="selected" {/eq}>禁用</option>
                                                </select>
                                        </td>

                                </tr>
                                <tr>
                                        <th ><label style='margin-left:40px;'>QQ：</label></th>
                                        <td>
                                                <input type="text"  name="qq" value="{$member.qq|default=''}" />
                                        </td>

                                </tr>
                                <tr>
                                        <th ><label style='margin-left:40px;'>电话：</label></th>
                                        <td>
                                                <input type="text"  name="phone" value="{$member.phone|default=''}" />
                                        </td>

                                </tr>
                                <tr>
                                        <th ><label style='margin-left:40px;'>Email：</label></th>
                                        <td>
                                                <input type="text"  name="email" value="{$member.email|default=''}" />
                                        </td>

                                </tr>
                        </table>
                </form>
        </div>

</div>
<div class="bjui-pageFooter" border='none'>
        <ul>
                <li><button type="button" class="btn btn-close">关闭</button></li>
                <li><button type="submit" class="btn btn-default">提交</button></li>
        </ul>
</div>